package com.neu.dao;

import java.util.ArrayList;

import com.neu.pojo.Patient;

public interface IpatientDao {

	//添加患者
	public boolean add(Patient patient);

	//搜索患者
	public Patient search(Patient patient);

	//覆盖
	public boolean cover(Patient patient);

	//得到所有患者
	public ArrayList<Patient> list();

	//删除患者
	public boolean delete(Patient p);

}